package com.zenithsun.web;

public enum ResultCodeEnum {
    //调用成功
    SUCCESS(200),
    //调用失败
    FAIL(400),
    //未授权（签名错误）
    UNAUTHORIZED(403),
    //接口不存在
    NOT_FOUND(404),
    INTERNAL_SERVER_ERROR(500);//服务器内部错误

    public int code;

    ResultCodeEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
